const mongoose = require("mongoose");
const Schema = mongoose.Schema;

// Create Schema
const ScoreSchema = new Schema({
  number: {
    type: String,
    required: true,
  },
  // name: {
  //   type: String,
  //   required: true,
  // },
  score: {
    type: String,
    required: true,
  },
  rank: {
    type: String,
    default: "N/A",
  },
});

module.exports = Score = mongoose.model("score", ScoreSchema);
